package com.clg.common.config;

import com.clg.common.tools.RequestKit;
import com.jfinal.handler.Handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by usercai on 2016/9/29.
 */
public class AppHandler extends Handler{
    @Override
    public void handle(String target, HttpServletRequest request, HttpServletResponse response, boolean[] isHandled) {
        RequestKit.put(request);
        next.handle(target, request, response, isHandled);
    }
}
